import http from "@/utils/request";

export async function friendRequestList() {
    return await http('/friendship/request_list');
}

export async function agreeFriendRequest(id: number) {
    return await http('/friendship/agree/' + id);
}

export async function rejectFriendRequest(id: number) {
    return await http('/friendship/reject/' + id);
}